/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.OneCommerceProject.validators;

import com.OneCommerceProject.beans.ItemFacade;
import java.math.BigInteger;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;

/**
 *
 * @author Malek
 */
@FacesValidator("commandeClientValidator")
public class CommandeClientValidator implements Validator{

    @Override
    public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException {
        BigInteger idItem = (BigInteger) value;
        
        ItemFacade itemFacade;
        
        
    }
    
}
